package com.model.vo.sys.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @Author: zql
 * @Description:
 * @Data: 8:41 2021/7/2
 */
@Data
@Builder
public class ImportUserInfoVO {
    @ApiModelProperty(value = "导入成功数量",required = true)
    Integer importSuccess;

    @ApiModelProperty(value = "导入失败数量",required = true)
    public Integer getImportFailed(){
        return errorList.size();
    }

    @ApiModelProperty(value = "导入失败对象",required = true)
    List<ErrorUserVO> errorList;
}
